#include <stdio.h>

int main(void) {
	float num;
	int cou;
	scanf("%f %d", &num, &cou);
	printf("%.3f\n%d", num / cou, cou * 2);
	return 0;
}